package com.wx.chapter8.homework05;

/**
 * ClassName:Worker
 * Package :com.wx.chapter8.homework05
 * Description :
 *
 * @Author : coder_mu
 * @Create : 2023/5/29 - 16:14
 */
public class Worker extends Employee {
    public Worker(String name, double sal, int salMonth) {
        super(name, sal, salMonth);
    }

    @Override
    public void printSal() {
        System.out.println("工人");
        super.printSal();
    }
}
